﻿@model IEnumerable<Product>

<table class="table">
    <tr>
        <th>Id</th>
        <th>Name</th>
        <th>Unit Price</th>
        <th>Category</th>
    </tr>
    @foreach (var p in Model)
    {
        <tr>
            <td>@p.Id</td>
            <td>@p.Name</td>
            <td>@p.UnitPrice</td>
            <td>@p.Category.NameVN</td>
        </tr>
    }
</table>

